package com.buyingtickets.entity;

import java.sql.Timestamp;
import java.util.Date;

/**
 * @author Hexz
 * @date 2021/6/23 22:58
 */
public class User {
    private int userId;//用户ID
    private String userAccount;//用户账号
    private String userPwd;//用户密码
    private String userName;//用户名
    private Type idType;//证件类型
    private String idNumber;//证件号码
    private Type sexType;//性别类型
    private String userTel;//用户电话
    private Type passengerType;//乘客类型
    private Date registerTime;//注册时间
    private String contactName;//联系人姓名
    private String contactTle;//联系人电话
    private Type userType;//用户类型

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userAccount='" + userAccount + '\'' +
                ", userPwd='" + userPwd + '\'' +
                ", userName='" + userName + '\'' +
                ", idType=" + idType +
                ", idNumber='" + idNumber + '\'' +
                ", sexType=" + sexType +
                ", userTel='" + userTel + '\'' +
                ", passengerType=" + passengerType +
                ", registerTime=" + registerTime +
                ", contactName='" + contactName + '\'' +
                ", contactTle='" + contactTle + '\'' +
                ", userType=" + userType +
                '}';
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Type getIdType() {
        return idType;
    }

    public void setIdType(Type idType) {
        this.idType = idType;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public Type getSexType() {
        return sexType;
    }

    public void setSexType(Type sexType) {
        this.sexType = sexType;
    }

    public String getUserTel() {
        return userTel;
    }

    public void setUserTel(String userTel) {
        this.userTel = userTel;
    }

    public Type getPassengerType() {
        return passengerType;
    }

    public void setPassengerType(Type passengerType) {
        this.passengerType = passengerType;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactTle() {
        return contactTle;
    }

    public void setContactTle(String contactTle) {
        this.contactTle = contactTle;
    }

    public Type getUserType() {
        return userType;
    }

    public void setUserType(Type userType) {
        this.userType = userType;
    }
}
